home *** CD-ROM | disk | FTP | other *** search
/ Windows Expert / Windows Expert.iso / communic / pbbs190a.zip / POWRMAIN.EXE / TESTZIP.BAT < prev    next >
DOS Batch File  |  1991-08-14  |  562b  |  31 lines

  1. echo off
  2. if exist %3 del %3
  3. pkunzip -t %1 >%4
  4.  
  5. If errorlevel 51 goto Good
  6. If errorlevel 50 goto Error
  7. If errorlevel 11 goto Error
  8. If errorlevel 10 goto Error
  9. If errorlevel 9 goto Error
  10. If errorlevel 8 goto Error
  11. If errorlevel 7 goto Error
  12. If errorlevel 6 goto Error
  13. If errorlevel 5 goto Error
  14. If errorlevel 4 goto Error
  15. If errorlevel 3 goto Error
  16. If errorlevel 2 goto Error
  17. If errorlevel 1 goto Error
  18. if errorlevel 0 goto Good
  19.  
  20. :ERROR
  21. Echo Error In Zip
  22. Copy %2 %3 >NUL
  23. Goto Exit
  24.  
  25. :GOOD
  26. Echo Zip is good
  27. goto :Exit
  28.  
  29. :Exit
  30. Cd\Powrbbs
  31.